package com.tudouji.project.mt.http.response;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class DishSaleResponse {

    /**
     * items : [{"poiName":"测试门店","merchantNo":5000001,"orderTypeName":"店内销售","dishCateName":"大类A","secondCateName":"小类1","dishId":70000001,"dishName":"小炒肉","dishSpec":"大份","dishUnitName":"份","dishSaleCnt":3,"dishSaleAmt":308000,"dishCmpgnAmt":3000,"dishIncomeAmt":305000,"taxAmt":1000,"noTaxIncomeAmt":304000,"skuId":70000001}]
     * page : {"pageNo":1,"pageSize":20,"totalCount":33,"totalPageSize":2}
     */

    private PageBean page;
    private List<ItemsBean> items;

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public static class PageBean {
        /**
         * pageNo : 1
         * pageSize : 20
         * totalCount : 33
         * totalPageSize : 2
         */

        private int pageNo;
        private int pageSize;
        private int totalCount;
        private int totalPageSize;

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getTotalPageSize() {
            return totalPageSize;
        }

        public void setTotalPageSize(int totalPageSize) {
            this.totalPageSize = totalPageSize;
        }
    }

    public static class ItemsBean {
        /**
         * poiName : 测试门店
         * merchantNo : 5000001
         * orderTypeName : 店内销售
         * dishCateName : 大类A
         * secondCateName : 小类1
         * dishId : 70000001
         * dishName : 小炒肉
         * dishSpec : 大份
         * dishUnitName : 份
         * dishSaleCnt : 3
         * dishSaleAmt : 308000
         * dishCmpgnAmt : 3000
         * dishIncomeAmt : 305000
         * taxAmt : 1000
         * noTaxIncomeAmt : 304000
         * skuId : 70000001
         */

        private String poiName;
        private int merchantNo;
        private String orderTypeName;
        private String dishCateName;
        private String secondCateName;
        private Long dishId;
        private String dishName;
        private String dishSpec;
        private String dishUnitName;
        private int dishSaleCnt;
        private BigDecimal dishSaleAmt;
        private BigDecimal dishCmpgnAmt;
        private BigDecimal dishIncomeAmt;
        private BigDecimal taxAmt;
        private BigDecimal noTaxIncomeAmt;
        private Long skuId;

        public String getPoiName() {
            return poiName;
        }

        public void setPoiName(String poiName) {
            this.poiName = poiName;
        }

        public int getMerchantNo() {
            return merchantNo;
        }

        public void setMerchantNo(int merchantNo) {
            this.merchantNo = merchantNo;
        }

        public String getOrderTypeName() {
            return orderTypeName;
        }

        public void setOrderTypeName(String orderTypeName) {
            this.orderTypeName = orderTypeName;
        }

        public String getDishCateName() {
            return dishCateName;
        }

        public void setDishCateName(String dishCateName) {
            this.dishCateName = dishCateName;
        }

        public String getSecondCateName() {
            return secondCateName;
        }

        public void setSecondCateName(String secondCateName) {
            this.secondCateName = secondCateName;
        }

        public Long getDishId() {
            return dishId;
        }

        public void setDishId(Long dishId) {
            this.dishId = dishId;
        }

        public String getDishName() {
            return dishName;
        }

        public void setDishName(String dishName) {
            this.dishName = dishName;
        }

        public String getDishSpec() {
            return dishSpec;
        }

        public void setDishSpec(String dishSpec) {
            this.dishSpec = dishSpec;
        }

        public String getDishUnitName() {
            return dishUnitName;
        }

        public void setDishUnitName(String dishUnitName) {
            this.dishUnitName = dishUnitName;
        }

        public int getDishSaleCnt() {
            return dishSaleCnt;
        }

        public void setDishSaleCnt(int dishSaleCnt) {
            this.dishSaleCnt = dishSaleCnt;
        }

        public BigDecimal getDishSaleAmt() {
            return dishSaleAmt;
        }

        public void setDishSaleAmt(BigDecimal dishSaleAmt) {
            this.dishSaleAmt = dishSaleAmt;
        }

        public BigDecimal getDishCmpgnAmt() {
            return dishCmpgnAmt;
        }

        public void setDishCmpgnAmt(BigDecimal dishCmpgnAmt) {
            this.dishCmpgnAmt = dishCmpgnAmt;
        }

        public BigDecimal getDishIncomeAmt() {
            return dishIncomeAmt;
        }

        public void setDishIncomeAmt(BigDecimal dishIncomeAmt) {
            this.dishIncomeAmt = dishIncomeAmt;
        }

        public BigDecimal getTaxAmt() {
            return taxAmt;
        }

        public void setTaxAmt(BigDecimal taxAmt) {
            this.taxAmt = taxAmt;
        }

        public BigDecimal getNoTaxIncomeAmt() {
            return noTaxIncomeAmt;
        }

        public void setNoTaxIncomeAmt(BigDecimal noTaxIncomeAmt) {
            this.noTaxIncomeAmt = noTaxIncomeAmt;
        }

        public Long getSkuId() {
            return skuId;
        }

        public void setSkuId(Long skuId) {
            this.skuId = skuId;
        }
    }
}
